<?php

class Post
{
	public static function getValue($key)
	{
		if(!isset($_POST[$key])) {
			throw new TransferException(TransferException::ERROR_WRONG_KEY_IN_POST,TransferException::NO_WRONG_KEY_IN_POST);
		}
		return $_POST[$key];
	}
}
?>